﻿@model IQReportes.ViewModels.LoginViewModel
@using Recaptcha

@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <link href="~/Content/bootstrap/css/bootstrap.css" rel="stylesheet" />
    <link href="~/Content/bootstrap/css/bootstrap-responsive.css" rel="stylesheet" />
    <link href="~/Content/MyStyle.css" rel="stylesheet" />
    <title>Login</title>
</head>
<body>
    <div class="container">

        <form class="form-signin" action='@Url.Action("Login","Usuario")' method="post">
            @Html.ValidationSummary(true)
            <h2 class="form-signin-heading">IQ DashBoard</h2>
            @Html.ValidationMessage("errorLogin")
            <div class="input-prepend">
                <span class="add-on"><i class="icon-user"></i></span>
                <input type="text" class="input-block-level" name="usuario" placeholder="Usuario">
                
            </div>
            <div class="input-prepend">
                <span class="add-on"><i class="icon-lock"></i></span>
                <input type="password" class="input-block-level" name="clave" placeholder="Clave">
                
            </div>
            @Html.Raw(Html.GenerateCaptcha("","white"))
            @Html.ValidationMessage("recaptcha")
            @Html.ValidationMessage("errorCaptcha")
            <button class="btn-info btn botonSubmit" type="submit">Login</button>      
        </form>
    </div>
</body>
</html>
